<?php

echo "prinf log:\n";

$filename = "file.log";
$content = "enter function:";

if(file_put_contents($filename,$content,FILE_APPEND))
{
 echo "$filename";
}
else
{
  echo "can not add log to the file";
}

?>
